package com.cisystem.system.domain;

import com.cisystem.common.annotation.Excel;
import com.cisystem.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 文件文件夹数据对象 ci_file_dir
 *
 * @author xxx
 * @date 2024-08-01
 */
public class FileDir extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 文件夹名称
     */
    private String folderName;

    /**
     * 文件夹路径
     */
    private String folderPath;

    /**
     * 父文件夹id
     */
    @Excel(name = "父文件夹id")
    private String fartherId;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setFolderName(String folderName) {
        this.folderName = folderName;
    }

    public String getFolderName() {
        return folderName;
    }

    public void setFolderPath(String folderPath) {
        this.folderPath = folderPath;
    }

    public String getFolderPath() {
        return folderPath;
    }

    public void setFartherId(String fartherId) {
        this.fartherId = fartherId;
    }

    public String getFartherId() {
        return fartherId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("folderName", getFolderName())
                .append("folderPath", getFolderPath())
                .append("fartherId", getFartherId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
